import webpack from 'webpack';
import {bladeWebDesignDefinitions} from '../../@types/api/def-blade-web-design';

// 模板类型, 修改可换
export type HomeData = bladeWebDesignDefinitions['JztConfigFrontFindRes'];
export type ExtraData = {
	menuList: HomeData['menuList'];
	languageList: HomeData['languageList'];
	companyInfo: HomeData['companyInfo'];
	lang: HomeData['lang'];
	logo: HomeData['logo'];
	subjectColor: HomeData['subjectColor'];
};
export type HeaderData = ExtraData;
export type FooterData = ExtraData;
export type AboutUsData = HomeData['aboutUsList'][0];
export type BannerData = HomeData['slideCardList'][0];
export type ContactUsData = HomeData['contactUsList'][0];
export type DownloadListData = HomeData['downloadBoxList'][0];
export type ImageWithTextData = HomeData['teletextList'][0];
export type InquiryData = HomeData['inquiryInfoList'][0];
export type LinksData = HomeData['friendsLinkList'][0];
export type NewsListData = HomeData['newsBoxList'][0];
export type ParallaxData = HomeData['visionDiffList'][0];
export type ProductData = HomeData['singleGoodsList'][0];
export type ProductCategoryData = HomeData['goodsCategoryList'][0];
export type ProductListData = HomeData['goodsBoxList'][0];
export type TopBannerData = HomeData['topBannerList'][0];

export type FloorData = AboutUsData | BannerData | ContactUsData | DownloadListData | ImageWithTextData | InquiryData | LinksData | NewsListData | ParallaxData | ProductData | ProductCategoryData | ProductListData | TopBannerData;
export type PropertyName = 'SlideCard' | 'GoodsCategory' | 'GoodsBox' | 'SingleGoods' | 'InquiryInfo' | 'ContactUs' | 'AboutUs' | 'VisionDiff' | 'Teletext' | 'NewsBox' | 'DownloadBox' | 'FriendsLink' | 'TopBanner';
